The public rally around the operation, stirring nationalist sentiment and giving a boost to Erdogan.