Lawmakers move to limit foreign real estate buys near military bases