Purdue allows for the AP credits to count for general distribution credits even if you repeat the course (it’s also common at Purdue for engineers to not skip ahead although there are many that do after taking past exams). It doesn’t help with graduating sooner but can help with getting higher “standing” for things like priority course registration and housing.