Exact Redundant State Registers Removal Based on Binary Decision Diagrams