Replace blunt uses of resetExpectations() with setSilenced() for TransactionProfiler