remove useless true/false assertions in yuptype