Every will shall, with reference to all estate comprised in the will and every devise or bequest contained in it, be construed to speak and take effect as if it had been executed immediately before the death of the testator, unless a contrary intention appears from the will.