Devils make Cup finals after 3-2 win over Rangers