A polygenic model for the evolution and maintenance of conditional strategies