Magic tilt angle for stabilizing two-dimensional solitons by dipole-dipole interactions