BEIRUT, Lebanon — The rebel-held Syrian town of Moadhamiya hoisted the government’s flag from its tallest building on Thursday as part of a tentative truce deal, a symbolic victory for the government, which has blockaded the town for nearly a year, preventing food and medical supplies from entering.