Conditional sojourn distributions of processes related to some higher-order heat-type equations