Update FSM.scala issue #16199

Fixing a bug  -  the predicate parameter was missing in the call to the FSMStateFunctionBuilder event