Attorney general Richard Hermer said Britain would be left in ‘splendid isolation’ with Russia and Belarus if it left the ECHR