After the arrest, police officers were cheered as heroes. One of them posed with admirers on Boston Common.