Magnetism in intermediate-valence YbAl3: a polarized neutron diffraction study