The government of Nicaragua has released 12 Roman Catholic priests and sent them to Rome in accordance with a deal forged with the Vatican.