arrange pieces of SubmissionPost._invalidate_caches more logically
arrange pieces of SubmissionPost._invalidate_caches more logically

dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq