Jihadi bride injured in Syria may be allowed to return to UK after judges side with her in decision slammed as ‘immoral’