(a) Except as provided in section , if a devise other than a residuary devise fails for any reason, it becomes a part of the residue.
(b) Except as provided in section , if the residue is devised to two or more persons and the share of one of the residuary devisees fails for any reason, his share passes to the other residuary devisee, or to other residuary devisees in proportion to their interests in the residue.