The Aw-Rascle traffic model with locally constrained flow