A UK surveillance bill that allows government hacking has passed its first legislative hurdle