The athletic gear maker raised its profit forecast and said it will cut 400 jobs.