don't pop locals when closing block if not pf_unique_locals (close #2545)