Spain?s governing conservative party, seeking to end months of political impasse, embraced an agenda of anticorruption measures and judicial overhaul in return for a centrist party?s agreement to support Maria** Rajoy for a second term as prime minister.