Judge dismisses HHS lawsuit brought by dioceses, charitable agencies