(a) Unless a contrary intent is expressly indicated in the will, property failing to pass under a void or inoperative legacy, and which is not provided for in § 4–403 of this subtitle, shall be distributed as part of the estate of the testator to those persons, including legatees, who would have taken the property if the void or inoperative legacy had not existed.
(b) Where a legacy to one of two or more residuary legatees is void or inoperative, the other residuary legacies shall be augmented proportionately by the property which is the subject of the legacy.