Bill requiring background checks for guns advances passes the House