remove pending aliases before checkinputs adds them

Accept() always removed then added pending aliases causing the pending
aliases to always be valid when they shouldn't be. I add them first then
remove them via checkinputs.

also reverted gettransaction comment block