Minister for Children Norma Foley has sought legal advice on compelling religious orders to make contributions