Use predicates from patterns for index selection

(was: GH #1497: Cypher: Execution Plan doesn't always pick indexes available)