Doctors can end life-support for baby ‘with only weeks to live’, judge rules