Removed a bunch of SAMRSIs.
Removed useless env parameter from merge function.
Made wire_func_t not take this awful nullable pointer parameter.
Removed some weird or defunct RSI comments.