MOSCOW  President Vladimir V. Putin on Thursday signed legislation merging Russia’s two top courts in a controversial decision seen by many as meant to consolidate the Kremlin’s power over the country’s judicial system.