Adwokat kościelny, unieważnienie małżeństw kościelnych