A scandal including a love affair, the abuse of secret services and alleged corruption swept away Petr Nečas, the Czech Republic’s prime minister, and his centre-right cabinet nearly a year before elections were scheduled.