Fixed errors in anchor_state functions in lib/state.py
Fixed errors in anchor_state functions in lib/state.py

- Need to use "anchored_state = state.copy()" vs just
  "stripped_state = state".

Change-Id: I2322714c2145f0dab3de5fd9ad5e4ea90be85a97
Signed-off-by: Michael Walsh <10404802c7de463f402c4a18638106ca1b12ef61@us.ibm.com>

openbmc/openbmc-test-automation,openbmc/openbmc-test-automation