Scottish abortion law to be 'devolved'