Target refinances credit agreement