Federer withdraws from Madrid to be with family