BEIRUT, Lebanon — The Syrian military’s ability to fight rebels and hold territory has steadily eroded, forcing it to cede the job of running many checkpoints to paramilitary groups, give up a provincial city last week without much of a fight and even enlist the top state-appointed Muslim cleric as a recruiter.