Ruling party short of majority in Spain elections