Online Safety Bill to return as soon as possible

But rules to tackle “legal but harmful” material will change over free-speech fears, a minister says.