A Texas judge on Thursday sided with a hospital that plans to remove an 11-month-old girl from life support after her mother disagreed with the decision by doctors who say the infant is in pain and that her condition will never improve.