Redstone simulator - cleaning up repeater lock code

It is cleaner more efficient to nest all the repeater's powerchange stuff inside an "if ( ! locked)"