Ministers vow to overturn 'cottaging' ban