The Senate has passed legislation that includes a provision allowing airports to replace TSA screeners with private security, opening the door for the widely loathed federal agency to be marginalized from aviation security altogether.