Uttar Pradesh cop under house arrest, says opposition