French left's coalition gamble pays off in legislative elections but unity challenges loom