This PR refactors AcceptToMemoryPool.
. Remove AcceptToMemoryPoolWithTime
(after #23173, this function is no longer needed).
. Remove the CChainParams chainparams
parameter from ATMP as they can be inferred from the current chain state.
. Update the tx_pool
test with new function signature.