Michael Gove says UK will not comply with EU demand to withdraw legislation