MOSCOW — Russian media are reporting that a gunman opened fire with a hunting rifle on churchgoers leaving a service in the Dagestan region, killing five people and wounding four others. Police then killed the assailant.