Merkel's deal with Social Democrats opens way for coalition govt