Casimir-Polder repulsion near edges: wedge apex and a screen with an aperture