Pope amends canon law on religious who abandon their community