Spanish Prime Minister Pedro Sanchez’s chances of getting reelected after a July election have received a potentially important boost following an agreement between more than a dozen small leftist parties to run on a joint ticket, a deal that is expected to provide key support for Sanchez’s Socialists in any post-election negotiations to form government.