La condición impuesta al heredero o legatario de tomar o dejar de tomar estado civil, se tendrá por no puesta.