Add decode logic for flush instructions
Add support for membar instruction
Fix a number of flush issues